package main.test.SparkAPI.Baics.classApi.HTTPserver

object MySecondCalculator {
  val sum: (Int, Int) => Int = { (a: Int, b: Int) => a + b }
  val subtract: (Int, Int) => Int = { (a: Int, b: Int) => a - b }
  val multiply: (Int, Int) => Int = { (a: Int, b: Int) => a * b }
  val divide: (Int, Int) => Int = { (a: Int, b: Int) => a / b }
  val negate: Int => Int = { (a: Int) => subtract(0, a) }



}
